package com.hui.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.io.Serializable;

/**
 * Created with IntelliJ IDEA.
 *
 * @Auther: 李昭辉
 * @Date: 2021/09/17/20:40
 * @Description:
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class GoodsVo implements Serializable {
    private Integer pageNo = 1;

    private Integer pageSize = 10;

    // 偏移量，通过计算得出， offset = （pageNo-1）* pageSize
    private Integer offset;

    //    商品名称
    private String goodsName;

    //    分类
    private String category;

    //    价格范围
    private Float startPrice;
    private Float endPrice;

    //    库存范围
    private Integer startCount;
    private Integer endCount;

    //    上架状态  0 下架，1 上架
    private String status;

}
